export const isStatusName = (title: string, status: string,) => {
    if (title == '组长审批') {
        if (status == '-11') {
            return '审批中'
        } else if (status == '-10') {
            return '审批驳回'
        } else if (Number(status) >= -9) {
            return '审批通过'
        }
    } else if (title == '总监初审') {
        if (status == '-9') {
            return '审批中'
        } else if (status == '-8') {
            return '审批驳回'
        } else if (Number(status) >= -7) {
            return '审批通过'
        }
    } else if (title == '总监审批') {
        if (status == '-4') {
            return '审批中'
        } else if (status == '-3') {
            return '审批驳回'
        } else if (Number(status) >= 7) {
            return '审批通过'
        }
    } else if (title == '核价初审') {
        if (status == '7') {
            return '审批中'
        } else if (status == '8' || status == '9' || status == '10') {
            return '审批驳回'
        } else if (Number(status) >= 11) {
            return '审批通过'
        }
    } else if (title == '核价复审') {
        if (status == '11') {
            return '审批中'
        } else if (status == '12') {
            return '审批驳回'
        } else if (Number(status) >= 13) {
            return '审批通过'
        }
    } else if (title == '无合同入库') {
        if (status == '22') {
            return '审批中'
        } else if (status == '14') {
            return '审批驳回'
        } else if (Number(status) >= 15) {
            return '审批通过'
        } else if (status == '11') {
            return '变更主播'
        }
    } else if (title == '入库审批') {
        if (status == '16') {
            return '审批中'
        } else if (status == '17') {
            return '审批驳回'
        } else if (Number(status) >= 18) {
            return '审批通过'
        } else if (status == '11') {
            return '变更主播'
        }
    } else if (title == '变价审批') {
        if (status == '19') {
            return '审批中'
        } else if (status == '20') {
            return '审批驳回'
        } else if (Number(status) >= 21) {
            return '审批通过'
        }
    }
}